﻿
    using System;
    namespace Joz.Model
    {
    /// <summary>
    /// 类GDAdmin_Model
    /// </summary>
    [Serializable]
    public partial class GDAdmin_Model
    {
    /// <summary>
    /// 
    /// </summary>
    private int? id;
    private string mobile;
    private string password;
    private string pswdSeed;
    private string name;
    private DateTime? birthday;
    private int? sex;
    private string telephone;
    private string fax;
    private string email;
    private string qq;
    private string address;
    private string department;
    private string position;
    private string loginToken;
    private int? loginCount;
    private int? state;
    private DateTime? addTime;
    private DateTime? updateTime;
  public GDAdmin_Model(){}
  /// <summary>
  /// 带参数的构造函数
  /// </summary>
    /// <param name="id"></param>
    /// <param name="mobile">手机号码</param>
    /// <param name="password">密码MD5摘要</param>
    /// <param name="pswdSeed">密码因子</param>
    /// <param name="name">姓名</param>
    /// <param name="birthday">生日</param>
    /// <param name="sex">性别0女1男2未知</param>
    /// <param name="telephone">固话</param>
    /// <param name="fax">传真号码</param>
    /// <param name="email">电子邮箱</param>
    /// <param name="qq">QQ号码</param>
    /// <param name="address">地址</param>
    /// <param name="department">所在部门</param>
    /// <param name="position">职务</param>
    /// <param name="loginToken">已登录凭证</param>
    /// <param name="loginCount">登录次数统计</param>
    /// <param name="state">状态0正常1锁定2待验证手机</param>
    /// <param name="addTime">记录加入时间</param>
    /// <param name="updateTime">最后修改时间</param>
  public GDAdmin_Model(int? id,string mobile,string password,string pswdSeed,string name,DateTime? birthday,int? sex,string telephone,string fax,string email,string qq,string address,string department,string position,string loginToken,int? loginCount,int? state,DateTime? addTime,DateTime? updateTime)
  {
    this.id=id;
    this.mobile=mobile;
    this.password=password;
    this.pswdSeed=pswdSeed;
    this.name=name;
    this.birthday=birthday;
    this.sex=sex;
    this.telephone=telephone;
    this.fax=fax;
    this.email=email;
    this.qq=qq;
    this.address=address;
    this.department=department;
    this.position=position;
    this.loginToken=loginToken;
    this.loginCount=loginCount;
    this.state=state;
    this.addTime=addTime;
    this.updateTime=updateTime;
  }
  /// <summary>
  /// 带参数的构造函数
  ///（只包含数据表对应的属性，对于扩展的属性，应该在此方法或CopySelf方法的基础上扩展一个方法）
  /// </summary>
    /// <param name="m">要浅复制的对象</param>
  public GDAdmin_Model(GDAdmin_Model m)
  {
    this.id=m.id;
    this.mobile=m.mobile;
    this.password=m.password;
    this.pswdSeed=m.pswdSeed;
    this.name=m.name;
    this.birthday=m.birthday;
    this.sex=m.sex;
    this.telephone=m.telephone;
    this.fax=m.fax;
    this.email=m.email;
    this.qq=m.qq;
    this.address=m.address;
    this.department=m.department;
    this.position=m.position;
    this.loginToken=m.loginToken;
    this.loginCount=m.loginCount;
    this.state=m.state;
    this.addTime=m.addTime;
    this.updateTime=m.updateTime;
  }
  /// <summary>
  /// 返回一个当前对象的一个拷贝（只包含数据表对应的属性，对于扩展的属性，应该在此方法的基础上扩展一个方法）
  /// </summary>
  public GDAdmin_Model CopySelf()
  {
    return new GDAdmin_Model(this);
  }
    /// <summary>
    /// 
    /// </summary>
    public int? Id
    {
        get { return this.id; }
        set { this.id=value; }
    }
    /// <summary>
    /// 手机号码，，作为登录帐号
    /// </summary>
    public string Mobile
    {
        get { return this.mobile; }
        set { this.mobile=value; }
    }
    /// <summary>
    /// 密码MD5摘要
    /// </summary>
    public string Password
    {
        get { return this.password; }
        set { this.password=value; }
    }
    /// <summary>
    /// 密码因子，，防止字典攻击
    /// </summary>
    public string PswdSeed
    {
        get { return this.pswdSeed; }
        set { this.pswdSeed=value; }
    }
    /// <summary>
    /// 姓名
    /// </summary>
    public string Name
    {
        get { return this.name; }
        set { this.name=value; }
    }
    /// <summary>
    /// 生日
    /// </summary>
    public DateTime? Birthday
    {
        get { return this.birthday; }
        set { this.birthday=value; }
    }
    /// <summary>
    /// 性别0女1男2未知
    /// </summary>
    public int? Sex
    {
        get { return this.sex; }
        set { this.sex=value; }
    }
    /// <summary>
    /// 固话
    /// </summary>
    public string Telephone
    {
        get { return this.telephone; }
        set { this.telephone=value; }
    }
    /// <summary>
    /// 传真号码
    /// </summary>
    public string Fax
    {
        get { return this.fax; }
        set { this.fax=value; }
    }
    /// <summary>
    /// 电子邮箱
    /// </summary>
    public string Email
    {
        get { return this.email; }
        set { this.email=value; }
    }
    /// <summary>
    /// QQ号码
    /// </summary>
    public string Qq
    {
        get { return this.qq; }
        set { this.qq=value; }
    }
    /// <summary>
    /// 地址
    /// </summary>
    public string Address
    {
        get { return this.address; }
        set { this.address=value; }
    }
    /// <summary>
    /// 所在部门
    /// </summary>
    public string Department
    {
        get { return this.department; }
        set { this.department=value; }
    }
    /// <summary>
    /// 职务
    /// </summary>
    public string Position
    {
        get { return this.position; }
        set { this.position=value; }
    }
    /// <summary>
    /// 已登录凭证
    /// </summary>
    public string LoginToken
    {
        get { return this.loginToken; }
        set { this.loginToken=value; }
    }
    /// <summary>
    /// 登录次数统计
    /// </summary>
    public int? LoginCount
    {
        get { return this.loginCount; }
        set { this.loginCount=value; }
    }
    /// <summary>
    /// 状态0正常1锁定2待验证手机
    /// </summary>
    public int? State
    {
        get { return this.state; }
        set { this.state=value; }
    }
    /// <summary>
    /// 记录加入时间
    /// </summary>
    public DateTime? AddTime
    {
        get { return this.addTime; }
        set { this.addTime=value; }
    }
    /// <summary>
    /// 最后修改时间
    /// </summary>
    public DateTime? UpdateTime
    {
        get { return this.updateTime; }
        set { this.updateTime=value; }
    }
    }
    }
  
